export type Key = string | number

export interface BasicPageParams {
  pageNo?: number
  pageSize?: number
}

export interface BasicResult<T extends any> {
  data: T[]
  pageNo: number
  pageSize: number
  totalPage: number
  totalSize: number
}

export interface BasicFormModel {
  id: Key
  createTime?: string
  createUser?: Key
  updateTime?: string
  updateUser?: Key
}

export interface LabelValueModel {
  label: string
  value: Key
  key?: string
}
